@echo off
rem create by crocodilePole

rem 请输入你的maven仓库路径
set REPOSITORY_PATH=D:\soft\apache-maven-3.6.1\local
rem 请稍后，正在搜索中………
for /f "delims=" %%i in ('dir /b /s "%REPOSITORY_PATH%*lastUpdated*"') do (
echo %%i  
del /s /q "%%i" 
)
rem 处理完毕…  
pause

crocodilePole edit